package customers.dal.daointerface;

import java.util.List;
import java.util.Map;

import customers.dal.dataobject.CustomerBasicDO;

public interface CustomerBasicDAO {
	//全局查询
	public List<CustomerBasicDO> queryCustomerBasic();
	//条件查询
	public CustomerBasicDO queryByMemberId(String memberId);
    //添加信息
	public int insert(CustomerBasicDO customerBasicDO);
	//修改密码
	public int updateByMemberId(CustomerBasicDO customerBasicDO);
	//修改冻结状态
	public int updateUnfrozenByMemberId(CustomerBasicDO customerBasicDO);
	//登陆
	public CustomerBasicDO queryByMemberIdAndPassword(Map map);
}
